<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>马鞍山独立营2期</title>
</head>
<body>
    <h1>测试Thymeleaf模板 <span th:text="${name}"/> </h1>
    <h3>测试Thymeleaf模板 <span th:text="${name2}"/> </h3>
    <h3>测试Thymeleaf模板 <span th:utext="${name2}"/> </h3>

    <input type="text" th:value="${username}"/>

    <input type="text" th:value="${dept.deptno}"/>
    <input type="text" th:value="${dept.dname}"/>
    <input type="text" th:value="${dept.loc}"/>

</body>
</html>